0fa206c524e6ba9875c6759e105e641e42c17a51,src/freenet/node/useralerts/UserAlertManager.java,UserAlertManager,compare,#Object#Object#,47

Before Change


		UserAlert a0 = (UserAlert) arg0;
		UserAlert a1 = (UserAlert) arg1;
		if(a0 == a1) return 0; // common case, also we should be consistent with == even with proxyuseralert's
		return a0.getPriorityClass() - a1.getPriorityClass();
	}
	
	/**

After Change


		UserAlert a0 = (UserAlert) arg0;
		UserAlert a1 = (UserAlert) arg1;
		if(a0 == a1) return 0; // common case, also we should be consistent with == even with proxyuseralert's
		short prio0 = a0.getPriorityClass();
		short prio1 = a1.getPriorityClass();
		if(prio0 - prio1 == 0) {
			int hash0 = a0.hashCode();